//引入pinia
import {defineStore} from "pinia"
import {ref} from "vue"

export const tokenArray=defineStore('token',()=>{
	const token=ref('')
	const setToken=(_token)=>{
		token.value=_token
	}
	return {token,setToken}
},
{
  	unistorage:true
}
)